<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>匿名举报</title>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  <script type="text/javascript" charset="utf-8" src="utf8-jsp/ueditor.config.js"></script>
  <script type="text/javascript" charset="utf-8" src=" utf8-jsp/ueditor.all.min.js"> </script>
  <script type="text/javascript" charset="utf-8" src=" utf8-jsp/lang/zh-cn/zh-cn.js"></script>
  <style type="text/css">
    div{
      width:100%;
    }
  </style>
  <link rel="stylesheet" type="text/css"  href="${pageContext.request.contextPath}/css/bootstrap.css">

  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/style.css">
  <script src="js/jquery.min.js"></script>
</head>
<nav id="menu" class="navbar navbar-default navbar-fixed-top">
  <div class="container">

    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
      <a class="navbar-brand page-scroll" href="index.jsp">西安文理学院社团管理系统</a>
    </div>

    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="index.jsp">首页</a></li>
        <li><a href="${pageContext.request.contextPath}/CommunityServlet?method=findCommunityCategory">社团</a></li>
        <li><a href="${pageContext.request.contextPath}/IndexServlet?method=findHonorWall">荣誉墙</a></li>
        <li><a href="${pageContext.request.contextPath}/IndexServlet?method=findHallOfFame">名人堂</a></li>
        <li><a href="${pageContext.request.contextPath}/Report.jsp">匿名投诉</a></li>
        <li><a href="${pageContext.request.contextPath}/loginForm.jsp">登录</a></li>
        <li><a href="${pageContext.request.contextPath}/StudentServlet?method=findFactoryId">注册</a></li>
        <c:if test="${ not empty student}">
          <li><a href="${pageContext.request.contextPath}/person/personInfo.jsp">我的</a></li>
        </c:if>
      </ul>
    </div>
  </div>
</nav>
</head>
<h1>1</h1>
<h1>1</h1>
<body>
<h1 style="text-align: center"> 在此文本区输入您的举报材料</h1>
<h1 style="color: red;text-align: center">${msg}</h1>
<div style="position: absolute;left: 250px">
  <form action="${pageContext.request.contextPath}/ReportServlet?method=report" method="post">
  <script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
    <button type="submit" id="tijiao" style="width:100px;height: 25px;position: absolute;left: 400px";>提交</button>
  </form>
</div>

<script type="text/javascript">

  //实例化编辑器
  //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
  var ue = UE.getEditor('editor');
</script>
</body>
</html>